/*--------------------------------------------------*/
/*VirtualSociety System Header File*/
/*CreateBy SRPLab                */
/*CreateDate: 2011-3-29  */
/*--------------------------------------------------*/
#ifndef VIRTUALSOCIETY_HEADERFILE_SRPSAGGLIBENGINE
#define VIRTUALSOCIETY_HEADERFILE_SRPSAGGLIBENGINE

#include <stdio.h>
#include <stdlib.h>
#include <vsopencommtype.h>
#include <vsopenapi.h>
#include <vsopensyseventdef.h>

#if( VS_OS_TYPE == VS_OS_WINDOWS )
#pragma warning (disable:4819)
#pragma warning (disable:4244)
#pragma warning (disable:4996)
#pragma warning (disable:4800)
#endif

#pragma pack(4)

/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*--Macro[SAGG_GRADIENT_TYPE] Define */
#define SAGG_GRADIENT_CIRCLE                              0           
#define SAGG_GRADIENT_X                                   1           
#define SAGG_GRADIENT_Y                                   2           
#define SAGG_GRADIENT_DIAMOND                             3           
#define SAGG_GRADIENT_XY                                  4           
#define SAGG_GRADIENT_CONIC                               5           
#define SAGG_GRADIENT_RADIAL                              6           
#define SAGG_GRADIENT_FOCUS                               7           

/*--Macro[SAGG_MARKER_TYPE] Define */
#define SAGG_MARKER_SQUARE                                0           
#define SAGG_MARKER_CIRCLE                                1           
#define SAGG_MARKER_CROSSED_CIRCLE                        2           
#define SAGG_MARKER_SEMIELLIPSE_LEFT                      3           
#define SAGG_MARKER_SEMIELLIPSE_RIGHT                     4           
#define SAGG_MARKER_SEMIELLIPSE_UP                        5           
#define SAGG_MARKER_SEMIELLIPSE_DOWN                      6           
#define SAGG_MARKER_TRIANGLE_LEFT                         7           
#define SAGG_MARKER_TRIANGLE_RIGHT                        8           
#define SAGG_MARKER_TRIANGLE_UP                           9           
#define SAGG_MARKER_TRIANGLE_DOWN                         10          
#define SAGG_MARKER_FOUR_RAYS                             11          
#define SAGG_MARKER_CROSS                                 12          
#define SAGG_MARKER_X                                     13          
#define SAGG_MARKER_DASH                                  14          
#define SAGG_MARKER_DOT                                   15          
#define SAGG_MARKER_PIXEL                                 16          
#define SAGG_MARKER_DIAMOND                               17          

/*--Macro[SAGG_LINE_TYPE] Define */
#define SAGG_LINE_SOLID                                   0           
#define SAGG_LINE_DASH                                    1           

/*--Macro[SAGG_LINE_SMOOTHTYPE] Define */
#define SAGG_LINE_SMOOTHTYPE_CURVE                        0           
#define SAGG_LINE_SMOOTHTYPE_CONTOUR                      1           
#define SAGG_LINE_SMOOTHTYPE_BSP                          2           
#define SAGG_LINE_SMOOTHTYPE_SMOOTH                       3           

/*--Macro[SAGG_BRUSH_TYPE] Define */
#define SAGG_BRUSH_SOLID                                  0           
#define SAGG_BRUSH_IMG                                    1           
#define SAGG_BRUSH_COLORSPAN                              2           

/*--Macro[SAGG_IMGACCESS_TYPE] Define */
#define SAGG_IMGACCESS_CLONE                              0           
#define SAGG_IMGACCESS_REFLECT                            1           
#define SAGG_IMGACCESS_REPEAT                             2           
#define SAGG_IMGACCESS_EXPAND                             3           

/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
extern VS_UUID VSSTRUCTID_SAggPoint;

struct StructOfSAggPoint{
    VS_INT32        X;                            //
    VS_INT32        Y;                            //
#ifdef SRPCPLUSPLUS
    StructOfSAggPoint(){};
    StructOfSAggPoint(VS_INT32 In_X,VS_INT32 In_Y)
    {
        X=In_X;Y=In_Y;
    };
#endif
};



#pragma pack()

#endif
